package com.liangzhong.model.goods.vo
{
	import com.common.utils.ObjectUtil;
	import com.global.GlobalDef;
	import com.liangzhong.model.type.GoodsType;

	/**
	 *球衣 
	 * @author lake
	 * 
	 */	
	public class TrikotVo extends GoodsVo
	{
		/**
		 * 球衣id
		 */		
		public var trikotid 	:int;
		/**
		 * 球衣名字
		 */		
		public var tname		:String;
		
		public function TrikotVo()
		{
			super();
		}
		/**
		 *解析数据 
		 * @param data
		 * 
		 */		
		override public function parse(data :Object):void
		{
			var xmlList:XMLList = data.children();
			for each(var xml:XML in xmlList)
			{
				if(this.hasOwnProperty(xml.localName()))
				{
					this[xml.localName()] = xml.toString();
				}
			}
			name 	= tname;
			url  	= GlobalDef.Web_Res_Url + "trikot/" + header;
			type 	= GoodsType.TEAMCLOTH;
			pid 	= trikotid;
			gid		= trikotid;
		}
		/**
		 *获取tips 显示信息 
		 * @return 
		 * 
		 */		
		override public function get tipsInfo():String
		{
			var info :String = super.tipsInfo;
			info +="<p align='left'><font color='#33ccff'>双击使用 在俱乐部选择出战球衣</font>";
			return info;
		}
	}
}